<?
		$ls_options = array(''=>'Select Status','active'=>'Active','inactive'=>'Inactive');
		$lc_options = array( ''=>'Select Category',
						'k12 Category' => array(
							'preschool'=>'Pre School',
							'lowschool'=>'Lower School',
							'uppschool'=>'Upper School',
							'gradeschool'=>'Grade School',
							'highschool'=>'High School'
						));
?>
<p class="lead-title">Add Grade Level.</p>
<div class="row">
<?if(isset($system_message))echo $system_message;
echo validation_errors('<div class="alert alert-error">', '</div>');
?>
</div>
<?echo form_open('');?>

<div class="row">
	<div class="large-8 columns">
		<label>Level Code</label>
		<input type="text" value="<?=set_value('level_code');?>" name="level_code">
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<label>Level Desc</label>
		<input type="text" value="<?=set_value('level_desc');?>" name="level_desc">
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<label>Level ID Code <span class="iinfo">Will Be Used in generation of ID</span></label>
		<input type="text" value="<?=set_value('level_id_code');?>" name="level_id_code">
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<label>Level Status</label>
		<?echo form_dropdown('level_stat',$ls_options,set_value('level_stat'));?>
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<label>Level Category</label>
		<?echo form_dropdown('level_cat',$lc_options,set_value('level_cat'));?>
	</div>
</div>

<div class="row">
	<div class="large-8 columns">
		<?
			echo form_submit('add_grade_level','Add Level','class="button tiny"');
			echo form_close();
		?>
		<a href="<?=site_url('room_section_subject/grade_level');?>" class="btn btn-small btn-primary">Go Back to View Grade Level</a>
	</div>
</div>











